package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.activity.ActivityDTO;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService extends IService<Activity> {
    List<Activity> getActivityByType(String type);

    PageResult<ActivityDTO> getActivities(ActivityDTO activityDTO);

    void deleteActivity(Integer id);

    void addActivity(ActivityDTO activityDTO);

    void updateActivity(ActivityDTO activityDTO);
}
